package com.woniu.pojo;

import java.io.Serializable;
import java.util.Date;

public class Users implements Serializable {
    private Long id;

    private String account;

    private String passWord;

    private String userName;

    private Integer status;

    private String birthPlace;

    private String idCard;

    private String headimg;

    private String sex;

    private String phoneNumber;

    private Date birthday;

    private Date createTime;

    private String salt;

    private Integer roleId;

    private String email;

    private Date updateTime;

    private Integer plotId;

    public Users() {
    }

    @Override
    public String toString()
    {
        return "Users{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", passWord='" + passWord + '\'' +
                ", userName='" + userName + '\'' +
                ", status=" + status +
                ", birthPlace='" + birthPlace + '\'' +
                ", idCard='" + idCard + '\'' +
                ", headimg='" + headimg + '\'' +
                ", sex='" + sex + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", birthday=" + birthday +
                ", createTime=" + createTime +
                ", salt='" + salt + '\'' +
                ", roleId=" + roleId +
                ", email='" + email + '\'' +
                ", updateTime=" + updateTime +
                ", plotId=" + plotId +
                '}';
    }

    public Users(String account, String passWord, String userName, Integer status, String birthPlace, String idCard, String sex, String phoneNumber, Date birthday, String salt, Integer roleId, String email, Integer plotId) {
        this.account = account;
        this.passWord = passWord;
        this.userName = userName;
        this.status = status;
        this.birthPlace = birthPlace;
        this.idCard = idCard;
        this.sex = sex;
        this.phoneNumber = phoneNumber;
        this.birthday = birthday;
        this.salt = salt;
        this.roleId = roleId;
        this.email = email;
        this.plotId = plotId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBirthPlace() {
        return birthPlace;
    }

    public void setBirthPlace(String birthPlace) {
        this.birthPlace = birthPlace;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getPlotId() {
        return plotId;
    }

    public void setPlotId(Integer plotId) {
        this.plotId = plotId;
    }
}